import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import page from '../js/demo';
import char from '../js/char';


export class Template extends Component {
  render() {
    return (
      <div>
        <char />
        <page url={'http://127.0.0.1:8090/comments'}
              author={'adele'}
              perPage={10}/>
      </div>
    );
  }
};

ReactDOM.render(
  <Template/>,
  document.getElementById('template')
);
